#include <math.h>
#include <stdio.h>

void main() {
  FILE * arq1 = NULL, * arq2 = NULL;
  int num;
	
  if(((arq1 = fopen("arq704a.txt","r")) != NULL) && ((arq2 = fopen("arq704b.txt","w")) != NULL)) {			
	while (!feof(arq1)) { 
	  fscanf(arq1,"%d ", &num);			
	  fprintf(arq2,"%d ", num);			
	}
	fclose(arq1);
	fclose(arq2);
  }			
}
